<%-- 
    Document   : view
    Created on : Nov 16, 2014, 2:45:47 PM
    Author     : Hai
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link href="Theme/css/Menu.css" rel="stylesheet" type="text/css"/>
        <link href="css/view.css" rel="stylesheet" type="text/css"/>
        <title>View Page</title>
    </head>
    <body>
        <%@include file="header.jsp" %>

            
                <%  String sTable = request.getParameter("where");

                    String id = request.getParameter("id");
                    String data = Database.GetData.getRowTable(sTable, id);

                    String[] col = data.split("/r");

                    out.print(""
                            + "<center class='head'><h1>" + col[1] + "</h1></center>"
                    );
                %>
                <div class="paper">
                <%
                    out.print(""
                            + "<p class='textarea'>" + col[2] + "</p>"
                            + "");

                %>
                

            </div>
    </body>
</html>
